package com.bit.ca;


import java.util.Arrays;

class Add{
    public int x;
    public int y;
    public int z;



    public  Add(){
        this( 10,20,30 );
    }
    public Add(int x,int y,int z){
        this.x = x;
        this.y = y;
        this.z = z;
        this.print();
    }
    public void print(){
        System.out.println(x + y + z);
    }
}
public class Test {
    public static void main(String[] args) {
        Add a1 = new Add();
        //a1.print();
    }
}
